package com.example.HeadFirstDemo.Factory.AbstractFactory;

public interface Seat {
    void seat();
}

class LuxurySeat implements Seat{

    public void seat() {
        System.out.println("豪车躺着座");
    }
}

class LowSeat implements Seat{

    public void seat() {
        System.out.println("小汽车挤着座");
    }
}

